﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Septagon.TwochConnecter.Utility
{
	public static class UrlUtility
	{
		public static string DatStyleFormat(string format,string key)
		{
			return format.Replace("{key}", key);
		}

		public static string DatStyleFormat(string format, string host, string folder,string key)
		{
			return format.Replace("{key}", key).Replace("{host}", host).Replace("folder", folder);
		}
	}
}
